package com.ctrip.ec.dal;

import java.util.List;

/**
 * Created by jiang on 2018/9/1.
 */
public class IdConvert {
    public static String join(List<Long> ids){
        StringBuilder sb = new StringBuilder();
        for(int i=0;i<ids.size();i++){
            if(i==0){
                sb.append(ids.get(i).toString());
            }
            else{
                sb.append(","+ids.get(i));
            }
        }
        return sb.toString();
    }
}
